package com.example.zk2_lx.cons;

import androidx.lifecycle.MutableLiveData;

import com.example.zk2_lx.mvvm_base.BaseViewModel;
import com.hyphenate.chat.EMConversation;

import java.security.PublicKey;
import java.util.List;

public class ConsViewModel extends BaseViewModel<ConsRepo> {
    @Override
    protected ConsRepo createRepo() {
        return new ConsRepo();
    }

    public MutableLiveData<List<EMConversation>> success = new MutableLiveData<>();
    public  MutableLiveData<String> fail = new MutableLiveData<>();

    public void getcons(){
        repo.getcons(success,fail);
    }
}
